﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExtentionMethods
{
    class Program
    {
        static void Main(string[] args)
        {

            string s = "fatih";
            s.Mesaj(10);
            
        }
    }


    public static class Merkez
    {
        public static void Mesaj(this string p,int no)
        {
            Console.WriteLine(p + no.ToString());
        }

         public static void Insert(this string p,string no)
        {
            Console.WriteLine(p + no.ToString());
        }

        public static void WriteLine(this Console,string bla)
        {
        Console.WriteLine("başasdf");
        }
    }
}
